Linux vbd hotplug: Speed up finding a loopback device
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 3 Nov 2009 08:39:21 +0000 (08:39 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 3 Nov 2009 08:39:21 +0000 (08:39 +0000)
commit0ce73f80eae89aaa217eae813244ebd86c9341c3
treeb3667b85d4fa087ec096f45ff0686dd602eb8109
parent92e6cb5673b37bd883bdef0d0e83faf000edf61d
Linux vbd hotplug: Speed up finding a loopback device

 - Use the device and inode information provided by losetup to find
   if the vbd backing file is in use on another vbd.

 - Use losetup to find a free loopback device.

Signed-off-by: Gary Grebus <gary.grebus@oracle.com>
tools/hotplug/Linux/block